{if $nbphoto > 0} 
{literal}
	<script type="text/javascript" charset="utf-8">
		$(document).ready(function(){
			$.zgallery({id_zgallery_album:{/literal}{$id_pl_gp_album}{literal},id_photo:{/literal}{$id_photo}{literal}});
		});
	</script>
{/literal}
</div>
<div class="zgallery_content" id="zgallery_content">
{else}
	<p style="color: black;">Not found photos</p>
{/if}